import request from '@/utils/request'

// 查询设备一致性比对列表
export function listInstrumentComparisonItems(query) {
  return request({
    url: '/system/instrumentComparisonItems/list',
    method: 'post',
    data: query
  })
}

// 查询设备一致性比对详细
export function getInstrumentComparisonItems(id) {
  return request({
    url: '/system/instrumentComparisonItems/' + id,
    method: 'get'
  })
}

// 新增设备一致性比对
export function addInstrumentComparisonItems(data) {
  return request({
    url: '/system/instrumentComparisonItems',
    method: 'post',
    data: data
  })
}

// 修改设备一致性比对
export function updateInstrumentComparisonItems(data) {
  return request({
    url: '/system/instrumentComparisonItems',
    method: 'put',
    data: data
  })
}

// 删除设备一致性比对
export function delInstrumentComparisonItems(id) {
  return request({
    url: '/system/instrumentComparisonItems/' + id,
    method: 'delete'
  })
}
